function blockPage() {
	var obj = document.getElementById('over');
	obj.style.height = document.body.clientWidth + "px";
	obj.style.width = document.body.scrollWidth +  "px";
	obj.style.display = "block";
	//disableElms('select');
	hideElms('select');
}

function disableElms(elmTag) {
    for (i=0; i<document.all.tags(elmTag).length; i++){
        obj = document.all.tags(elmTag)[i];
            if (!obj || !obj.offsetParent) continue;
                obj.disabled = true;
    }
}

function hideElms(elmTag) {
    for (i=0; i<document.all.tags(elmTag).length; i++){
        obj = document.all.tags(elmTag)[i];
            if (!obj || !obj.offsetParent) continue;
                obj.style.display='none';
    }
}